package wf.dto.georef;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id; 
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
//import org.hibernate.annotations.NamedNativeQueries;
//import org.hibernate.annotations.NamedNativeQuery;
/**
 *
 * @author Rómulo Galindo Tanta
 */

@Entity
@NamedNativeQueries({
        @NamedNativeQuery(
	name = "georef.pfnuepun",
	query = "select * from georef.pfnuepun(:p_id_zongeo, :p_nu_geolat, :p_nu_geolon)",
	resultClass = pfnuepun.class
	)
})

public class pfnuepun implements Serializable {
    
    @Id
    @Column(name="pfnuepun")
    private int pfnuepun;

    public pfnuepun() {
    }

    public int getPfnuepun() {
        return pfnuepun;
    }

    public void setPfnuepun(int pfnuepun) {
        this.pfnuepun = pfnuepun;
    }
    
    
}
